package com.ccsoft.thread.service;

public class No3ThreadState {
    private static class MyThread extends Thread {
        @Override
        public void run() {
            System.out.println("执行了 MyThread");
        }
    }

    public static void main(String[] args) {
        Thread t = new MyThread();
        System.out.println(t.getState());

        t.start();

        System.out.println(t.getState());
    }
}
